<template>
<!-- 新增投保单 -->
   
     <policy v-if="show" @close="close">
     </policy>
</template>

<script>
import policy from '@/components/Sell/policyShow'
export default {
    data() {
        return {
            show:false,
            form: {
                name: '',
                region: '',
                date1: '',
                date2: '',
                delivery: false,
                type: [],
                resource: '',
                desc: ''
            }
        }
    },
    components:{
        'policy':policy
    },  
    methods:{
        close(){
            this.show=false;
            this.show=true;
        }
    },
    created(){
        this.show=true;
    }
}
</script>

<style>

</style>
